package cn.kgc.message.entiy;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName message
 */
@TableName(value ="message")
@Data
public class Message implements Serializable {

    @TableId(type=IdType.AUTO)
    private Long id;

    private String deviceId;

    private String gender;

    private Integer ageRange;

    private Integer professionType;

    private String content;

    private Date createTime;

    private static final long serialVersionUID = 1L;
}